package cn.bopomo.dealer.base.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class OperatorDetail implements Serializable {

    /** identifier field */
    private Integer id;

    /** persistent field */
    private String loginName;

    /** persistent field */
    private String password;

    /** persistent field */
    private String authorize;

    /** persistent field */
    private String moduleAuthorize;

    /** nullable persistent field */
    private Date addDate;

    /** nullable persistent field */
    private Date lastLoginDate;

    /** persistent field */
    private String hasChild;

    /** persistent field */
    private String introduction;

    /** nullable persistent field */
    private String memo;

    /** nullable persistent field */
    private String isDelete;

    /** persistent field */
    private cn.bopomo.dealer.base.vo.OperatorDetail operatorDetail;

    /** persistent field */
    private Set operatorDetails;

    /** full constructor */
    public OperatorDetail(String loginName, String password, String authorize, String moduleAuthorize, Date addDate, Date lastLoginDate, String hasChild, String introduction, String memo, String isDelete, cn.bopomo.dealer.base.vo.OperatorDetail operatorDetail, Set operatorDetails) {
        this.loginName = loginName;
        this.password = password;
        this.authorize = authorize;
        this.moduleAuthorize = moduleAuthorize;
        this.addDate = addDate;
        this.lastLoginDate = lastLoginDate;
        this.hasChild = hasChild;
        this.introduction = introduction;
        this.memo = memo;
        this.isDelete = isDelete;
        this.operatorDetail = operatorDetail;
        this.operatorDetails = operatorDetails;
    }

    /** default constructor */
    public OperatorDetail() {
    }

    /** minimal constructor */
    public OperatorDetail(String loginName, String password, String authorize, String moduleAuthorize, String hasChild, String introduction, cn.bopomo.dealer.base.vo.OperatorDetail operatorDetail, Set operatorDetails) {
        this.loginName = loginName;
        this.password = password;
        this.authorize = authorize;
        this.moduleAuthorize = moduleAuthorize;
        this.hasChild = hasChild;
        this.introduction = introduction;
        this.operatorDetail = operatorDetail;
        this.operatorDetails = operatorDetails;
    }

    /** 
     * 		       auto_increment
     * 		    
     */
    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLoginName() {
        return this.loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthorize() {
        return this.authorize;
    }

    public void setAuthorize(String authorize) {
        this.authorize = authorize;
    }

    public String getModuleAuthorize() {
        return this.moduleAuthorize;
    }

    public void setModuleAuthorize(String moduleAuthorize) {
        this.moduleAuthorize = moduleAuthorize;
    }

    public Date getAddDate() {
        return this.addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }

    public Date getLastLoginDate() {
        return this.lastLoginDate;
    }

    public void setLastLoginDate(Date lastLoginDate) {
        this.lastLoginDate = lastLoginDate;
    }

    public String getHasChild() {
        return this.hasChild;
    }

    public void setHasChild(String hasChild) {
        this.hasChild = hasChild;
    }

    public String getIntroduction() {
        return this.introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getMemo() {
        return this.memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getIsDelete() {
        return this.isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public cn.bopomo.dealer.base.vo.OperatorDetail getOperatorDetail() {
        return this.operatorDetail;
    }

    public void setOperatorDetail(cn.bopomo.dealer.base.vo.OperatorDetail operatorDetail) {
        this.operatorDetail = operatorDetail;
    }

    public Set getOperatorDetails() {
        return this.operatorDetails;
    }

    public void setOperatorDetails(Set operatorDetails) {
        this.operatorDetails = operatorDetails;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}
